package com.example.user.feign;

import com.example.common.pojo.Loan;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 小许
 * @Title:
 * @Package
 * @Description:
 * @date 2020/11/26-16:29
 */
@FeignClient(value = "bidding")
public interface BiddingFeign {
    //通过标id获取出借信息 不分页
    @RequestMapping("lend/getPaiedLoanByBorrowId")
    public List<Loan> getPaiedLoanByBorrowId(@RequestParam Integer borrowId);
}
